<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<style>

    body>div{
        width: 200px;
        height: 200px;
        border: 1px solid red;
        overflow: scroll;
    }
    body>img{
        width: 100px;
        vertical-align: bottom;
    }

</style>
<body>
<input type="text"><img src="../imgs/a.png" alt="">
<div>
    <img src="../imgs/a.png" alt="">
</div>
</body>
</html>